package cn.six1943.deepchat.module.ai.controller.admin.chatsession.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;

import java.time.LocalDateTime;
import com.alibaba.excel.annotation.*;

@Schema(description = "管理后台 - 会话消息 Response VO")
@Data
@ExcelIgnoreUnannotated
public class ChatMsgRespVO {

    @Schema(description = "主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "9889")
    @ExcelProperty("主键")
    private Long id;

    @Schema(description = "会话id", requiredMode = Schema.RequiredMode.REQUIRED, example = "10166")
    @ExcelProperty("会话id")
    private Long sessionId;

    @Schema(description = "消息类型", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @ExcelProperty("消息类型")
    private String type;

    @Schema(description = "内容", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("内容")
    private String content;

    @Schema(description = "用户ID", example = "9861")
    @ExcelProperty("用户ID")
    private Long userId;

    @Schema(description = "key")
    @ExcelProperty("key")
    private String imKey;

    @Schema(description = "输入token", requiredMode = Schema.RequiredMode.REQUIRED, example = "25496")
    @ExcelProperty("输入token")
    private Integer inputTokenCount;

    @Schema(description = "输出token", requiredMode = Schema.RequiredMode.REQUIRED, example = "11934")
    @ExcelProperty("输出token")
    private Integer outputTokenCount;

    @Schema(description = "总tokent", requiredMode = Schema.RequiredMode.REQUIRED, example = "26729")
    @ExcelProperty("总tokent")
    private Integer totalTokenCount;

    @Schema(description = "创建部门")
    @ExcelProperty("创建部门")
    private Long createDept;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

    @Schema(description = "状态", requiredMode = Schema.RequiredMode.REQUIRED, example = "2")
    @ExcelProperty("状态")
    private Integer status;

}